package name.weily.liba.tools

import android.content.Intent
import android.os.Bundle

class TransparentPermissionActivity : PermissionActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        resize(1, 1, 1,1)
        extractPermissions(intent)
    }

    private fun extractPermissions(intent: Intent) {
        applyPermissions(intent.getStringArrayExtra("permissions"))
    }
}
